.news-editor {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.news-editor .quill {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-editor .quill .ql-toolbar {
  flex-shrink: 0;
  background-color: #fff;
}

.news-editor .quill .ql-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: auto !important;
  overflow-y: visible;
  font-size: 16px;
}

.news-editor .quill .ql-editor {
  flex: 1;
  min-height: 300px;
  height: auto;
  padding: 12px 15px;
  font-size: 16px;
  line-height: 1.6;
}

.news-editor .quill .ql-editor p {
  margin-bottom: 1em;
}

.news-editor .quill .ql-editor img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1em auto;
}

.news-editor .quill .ql-editor h1, .news-editor .quill .ql-editor h2, .news-editor .quill .ql-editor h3, .news-editor .quill .ql-editor h4, .news-editor .quill .ql-editor h5, .news-editor .quill .ql-editor h6 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.news-editor .news-editor-tips {
  margin-top: 8px;
  color: #999;
  font-size: 12px;
  text-align: right;
  flex-shrink: 0;
  padding: 0 16px 8px;
}

.wrapper-class,
.editor-class,
.toolbar-class {
  display: none;
}

@media (max-width: 768px) {
  .news-editor .quill .ql-container {
    min-height: 150px;
  }
  .news-editor .quill .ql-editor {
    min-height: 200px;
  }
}
